package com.example.demo.service;

import com.example.demo.pojo.*;

import java.util.List;

public interface AdminService {
    Admin authenticate(String username, String password);

    List<Department> getAllDepartment();

    void addDepartment(Department department);

    void updateDepartment(Department department);

    List<Doctor> getAllDoctor();

    void addDoctor(Doctor doctor);

    void updateDoctor(Doctor doctor);

    void deleteDoctor(Long id);

    List<ScheduleInfo> getAllScheduleInfoOfDoctor();

    void updateSchdule(ScheduleInfo scheduleInfo);

    void addSchedule(Schedule schedule);

    void deleteSchedule(Long id);

    Schedule getScheduleById(Long id);

    List<ScheduleInfo> searchScheduleInfo(ScheduleInfo scheduleInfo);

    List<WaitingDetail> getALlWaitingList();

    void updateWaiting(Waiting waiting);

    void cancelWaiting(Long id);

    void setCallTime(Long id);

    void consultWaiting(Long id);

    void finishWaiting(Long id);
}
